package com.qf.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Business {
    private int id;
    private String businessName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private int status;
    private String empName;

    @Override
    public String toString() {
        return "Business{" +
                "id=" + id +
                ", businessName='" + businessName + '\'' +
                ", createTime=" + createTime +
                ", status=" + status +
                ", empName='" + empName + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBusinessName() {
        return businessName;
    }

    public void setBusinessName(String businessName) {
        this.businessName = businessName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
}
